<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>水果消消乐</title>
    <link rel="stylesheet" href="./css/style.css"/>
    <script src="./js/jquery-3.6.0.min.js"></script>
</head>
<body>
<!--实时分数统计-->
<p>当前分数为：<span id="score">0</span></p>
<!--4*4-->
<div class="container">
    <div class="img-box" id="item1">
        <img src="./images/apple.png" alt="苹果" id="fruit1"/>
    </div>
    <div class="img-box" id="item2">
        <img src="./images/cherry.png" alt="樱桃" id="fruit2"/>
    </div>
    <div class="img-box" id="item3">
        <img src="./images/watermelon.png" alt="西瓜" id="fruit3"/>
    </div>
    <div class="img-box" id="item4">
        <img src="./images/peach.png" alt="桃子" id="fruit4"/>
    </div>
    <div class="img-box" id="item5">
        <img src="./images/peach.png" alt="桃子" id="fruit5"/>
    </div>
    <div class="img-box" id="item6">
        <img src="./images/pear.png" alt="梨子" id="fruit6"/>
    </div>
    <div class="img-box" id="item7">
        <img src="./images/strawberry.png" alt="草莓" id="fruit7"/>
    </div>
    <div class="img-box" id="item8">
        <img src="./images/apple.png" alt="苹果" id="fruit8"/>
    </div>
    <div class="img-box" id="item9">
        <img src="./images/grape.png" alt="葡萄" id="fruit9"/>
    </div>
    <div class="img-box" id="item10">
        <img src="./images/tangerine.png" alt="橘子" id="fruit10"/>
    </div>
    <div class="img-box" id="item11">
        <img src="./images/watermelon.png" alt="西瓜" id="fruit11"/>
    </div>
    <div class="img-box" id="item12">
        <img src="./images/cherry.png" alt="樱桃" id="fruit12"/>
    </div>
    <div class="img-box" id="item13">
        <img src="./images/pear.png" alt="梨子" id="fruit13"/>
    </div>
    <div class="img-box" id="item14">
        <img src="./images/strawberry.png" alt="草莓" id="fruit14"/>
    </div>
    <div class="img-box" id="item15">
        <img src="./images/tangerine.png" alt="橘子" id="fruit15"/>
    </div>
    <div class="img-box" id="item16">
        <img src="./images/grape.png" alt="葡萄" id="fruit16"/>
    </div>
</div>
<!--开始游戏-->
<button class="btn" id="start" onclick="startGame()">开始</button>
</body>
<script src="./js/index.js"></script>
</html>
